# encoding: utf-8
#sdk version: 2.2.1060.13-SNAPSHOT

from sdktest_module.utils.api_base_builder import ApiBaseBuilder, parameter

class AddVideoApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.addVideo"

	@parameter(1,"String")
	def sid(self, sid):
		return self

	@parameter(2,"String")
	def remoteUid(self, remoteUid):
		return self

	@parameter(3,"android.view.ViewGroup")
	def viewContainer(self, viewContainer):
		return self

	@parameter(4,"int")
	def renderMode(self, renderMode):
		return self

class SetVideoZOrderOnTopApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.setVideoZOrderOnTop"

	@parameter(1,"String")
	def remoteUid(self, remoteUid):
		return self

	@parameter(2,"boolean")
	def onTop(self, onTop):
		return self

class SwitchVideoContainerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.switchVideoContainer"

	@parameter(1,"String")
	def sid(self, sid):
		return self

	@parameter(2,"String")
	def remoteUid(self, remoteUid):
		return self

	@parameter(3,"android.view.ViewGroup")
	def viewContainer(self, viewContainer):
		return self

class RemoveVideoApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.removeVideo"

	@parameter(1,"String")
	def sid(self, sid):
		return self

	@parameter(2,"String")
	def remoteUid(self, remoteUid):
		return self

class UpdateVideoEncoderConfigApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.updateVideoEncoderConfig"

	@parameter(1,"LivePublishPlayType")
	def livePublishPlayType(self, livePublishPlayType):
		return self

class UpdateMultiVideoViewLayoutParamApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.updateMultiVideoViewLayoutParam"

	@parameter(1,"ArrayList")
	def videoPositionWrappers(self, videoPositionWrappers):
		return self

	@parameter(2,"tv.athena.live.api.videoarea.VideoPositionWrapper")
	def bgPositionWrapper(self, bgPositionWrapper):
		return self

	@parameter(3,"android.graphics.Bitmap")
	def bgBitmap(self, bgBitmap):
		return self

	@parameter(4,"android.view.ViewGroup")
	def viewContainer(self, viewContainer):
		return self

class AddMultiVideoApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.addMultiVideo"

	@parameter(1,"String")
	def sid(self, sid):
		return self

	@parameter(2,"String")
	def remoteUid(self, remoteUid):
		return self

	@parameter(3,"int")
	def seatPosition(self, seatPosition):
		return self

	@parameter(4,"int")
	def renderMode(self, renderMode):
		return self

class RemoveMultiVideoApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.removeMultiVideo"

	@parameter(1,"String")
	def sid(self, sid):
		return self

	@parameter(2,"String")
	def remoteUid(self, remoteUid):
		return self

	@parameter(3,"int")
	def seatPosition(self, seatPosition):
		return self

class DestroyViewApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.destroyView"

